package cn.ml.gaoJi.api.indexOf;

public class Test {
    public static void main(String[] args) {
        String a = "aa;bb;cc;dd";
        System.out.println(a.substring(2,5));
        String[] aa = a.split(";",1);
        for(String s:aa){
            System.out.println(s);
        }
        for(int i=0;i<a.length();i++){
            System.out.println(a.charAt(i));
        }
        System.out.println(a.indexOf("b",4));
    }
}
